package com.qujia.station.utils;

import lombok.Data;

@Data
public class YunHuaSyncUser {
    private String orgCode;

    private String merchantNo;

    private String mobilePhone;

    private String platformId;

    private String systemId;

    private String sign;

    private String signType;

    public  String toBeforeRequest(){
        String mm= "{\n" +
                "    \"systemId\": \""+getSystemId()+"\",\n" +
                "    \"platformId\": \""+getPlatformId()+"\",\n" +
                "    \"mobilePhone\":  \""+getMobilePhone()+"\",\n" +
                "    \"signType\":  \"SHA256\",\n" +
                "}";

        return  mm;
    }

    public  String toRequest(){
        String mm= "{\n" +
                "    \"systemId\": \""+getSystemId()+"\",\n" +
                "    \"platformId\": \""+getPlatformId()+"\",\n" +
                "    \"mobilePhone\":  \""+getMobilePhone()+"\",\n" +
                "    \"signType\":  \"SHA256\",\n" +
                "    \"sign\": \""+getSign()+"\"\n" +
                "}";

        return  mm;
    }
}
